Elementor\Core\Files\Uploads_Manager B

Total Complexity 78
Dependencies 12
Dependents 6
Total lines 679
Lines of code 244
Logical lines of code 142
Comment lines 333
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
validate_file()
S
53 7 21
save_base64_to_tmp_file()
S
54 6 22
extract_and_validate_zip()
S
56 5 18
is_file_type_allowed()
S
57 5 17
handle_elementor_upload()
S
61 4 13
check_filetype_and_ext()
S
60 4 13
remove_directory_with_files()
S
62 4 11
get_allowed_file_extensions()
S
63 4 11
support_unfiltered_elementor_file_uploads()
S
66 4 8
ajax_enqueue_google_fonts()
S
63 3 11
get_temp_dir()
S
62 3 11
remove_file_or_dir()
S
69 3 7
handle_elementor_wp_media_upload()
S
64 3 10
are_unfiltered_uploads_enabled()
S
68 3 7
is_elementor_upload()
S
79 3 3
is_elementor_wp_media_upload()
S
78 2 3
add_file_extension_to_allowed_extensions_list()
S
68 2 7
register_file_types()
S
64 2 10
is_elementor_media_upload()
S
78 2 3
enable_unfiltered_files_upload()
S
71 2 6
create_temp_file()
S
63 2 10
set_elementor_upload_state()
S
81 1 3
register_ajax_actions()
S
75 1 4
create_unique_dir()
S
73 1 5
get_file_type_handlers()
S
79 1 3
__construct()
S
67 1 7